<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@page isELIgnored="false" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>（事务审批）学生岗位变动 - 前序意见</title>
    <style>
        .appendText{
            color: #009f95;
        }
        .content{
            margin-left: 15%;
            margin-top: 10%
        }
    </style>
    <script src="../../dist/jquery-1_8_3.js"></script>
</head>
<body>

<div class="content">
    <div>
        审核用工部门员工：<span class="appendText" id="deptEmployee"></span>
    </div>
    <div>
        意见：<span class="appendText" id="deptEmployeeAdvice"></span>
    </div>
    <div>
        是否批准：<span class="appendText" id="isDeptEmployeePassed"></span>
    </div>
</div>

<script>
    $.ajax({
        url: '/admin/selectStudentPreAdviceFromDept?id=${param.id}',
        type:'get',
        dataType:'JSON',
        success:function(result) {
            $("#deptEmployee").append(result.data.deptEmployee);
            $("#deptEmployeeAdvice").append(result.data.deptEmployeeText);
            $("#isDeptEmployeePassed").append(result.data.deptEmployeePassed);
        }
    });
</script>
</body>
</html>
